package com.cskaoyan.bean.admin.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * 类<code>Doc</code>用于：TODO
 *
 * @author Acher
 * @version 1.0
 * @date 2021-10-21
 */
@NoArgsConstructor
@Data
public class PasswordBo {
    @Length(min = 6, max = 20)
    private String oldPassword;
    @Length(min = 6, max = 20)
    private String newPassword;
    @Length(min = 6, max = 20)
    private String newPassword2;
}
